body {
    /* background: #f2f2f2; */
    background: #282c34;
}

.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
    border-radius: 2px;
    box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
    background: #2c2e2e;
    overflow: hidden;
}

.pacman {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 150px;
    left: 150px;
    fill: none;
    stroke: #f4d146;
    stroke-width: 50px;
    stroke-linecap: butt;
    stroke-dasharray: 157;
    animation: mouth 0.7s ease-in-out infinite;
}

@keyframes mouth {
    0%,
    100% {
        stroke-dashoffset: 0;
        transform: rotate(0deg) translate3d(0, 0, 0);
    }
    50% {
        stroke-dashoffset: 39;
        transform: rotate(45deg);
    }
}

.eye {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 167px;
    left: 204px;
    fill: #2c2e2e;
    animation: eye 0.7s ease-in-out infinite;
}

@keyframes eye {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-6px, -3px, 0);
    }
}

.dots {
    position: absolute;
    height: 14px;
    width: 240px;
    top: 193px;
    left: 180px;
    /* background: #0003; */
    stroke: #f4d146;
    stroke-width: 14px;
    stroke-dasharray: 0 50px;
    stroke-linecap: round;
    stroke-dashoffset: 14;
    animation: points 0.7s linear infinite;
}

@keyframes points {
    0% {
        stroke-dashoffset: 14;
        transform: translate3d(0, 0, 0);
    }
    100% {
        stroke-dashoffset: 64;
    }
}
